<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link href="/module/jeDate/jedate.css" rel="stylesheet"/>
    <style type="text/css">
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 0px">
    <div class="page-container">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="col-md-offset-2 col-md-8 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="widget-header bordered-bottom bordered-blue">
                    <span class="widget-caption">票据详情</span>
                </div>
                <div class="widget-body">
                    <form class="form-horizontal form-bordered" id="from">
                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right">相关合同：</label>
                            <div class="col-sm-5" style="line-height: 34px" id="contractId">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right">对方名称：</label>
                            <div class="col-sm-5" style="line-height: 34px" id="customerName">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right">票据编号：</label>
                            <div class="col-sm-5" style="line-height: 34px" id="billCode">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right">开票日期：</label>
                            <div class="col-sm-5" style="line-height: 34px" id="billTime">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right">开票类型：</label>
                            <div class="col-sm-5" style="line-height: 34px" id="billType">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right">票据事件：</label>
                            <div class="col-sm-5" style="line-height: 34px" id="isOpen">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right">开票金额：</label>
                            <div class="col-sm-3" style="display: inline-block; line-height: 34px" id="total">
                            </div>
                            <span style="display: inline-block; line-height: 34px">元</span>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right">开票备注：</label>
                            <div class="col-sm-10" style="line-height: 34px" id="remark">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right">票据附件 ：</label>
                            <div class="col-sm-5">
                                <div style="padding-top: 4px;" id="contractattach">
                                    <div id="show_contractattach"></div>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-12" align="center">
                                <a href="#" onclick="window.close();" class="btn btn-primary">关&nbsp;&nbsp;闭</a>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript">
    var billId = "${parameter.billId}";
</script>
<script type="text/javascript" src="/module/fileupload/pageoffice.js" id="po_js_main"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/gobal/js/page/contract/billdetails.js"></script>
</html>
